package com.entity;

import java.util.List;

public class TbClass {
    private Long id; // 主键ID
    private String classCode; // 班级编号
    private String majorCode; // 专业编码

    private TbMajor tbMajor; // 专业信息
    private List<TbStudent> listTbStudent; // 学生列表

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getClassCode() {
        return classCode;
    }

    public void setClassCode(String classCode) {
        this.classCode = classCode;
    }

    public String getMajorCode() {
        return majorCode;
    }

    public void setMajorCode(String majorCode) {
        this.majorCode = majorCode;
    }

    public TbMajor getTbMajor() {
        return tbMajor;
    }

    public void setTbMajor(TbMajor tbMajor) {
        this.tbMajor = tbMajor;
    }

    public List<TbStudent> getListTbStudent() {
        return listTbStudent;
    }

    public void setListTbStudent(List<TbStudent> listTbStudent) {
        this.listTbStudent = listTbStudent;
    }
}
